#include <memory>
#include "../include/MyTcpServerSocket.hpp"
using std::shared_ptr;

int main(int argc, const char** argv) {
    const char* ip = "127.0.0.1";
    int port = 9797;
    shared_ptr<TcpServerSock> server = std::make_shared<MyTcpServerSock>(ip,port);
    server->TcpListen(5);
    server->MessageLoop();

    return 0;
}